home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 5
/
Aminet 5 - March 1995.iso
/
Aminet
/
util
/
libs
/
type1beta5.readme
< prev
Wrap
Text File
|
1995-02-12
|
15KB
|
305 lines
Short: Type1library - postscript font engine
Author: asd2@midway.uchicago.edu (Amish S. Dave)
Uploader: asd2@midway.uchicago.edu
Type: util/libs
Postscript Type1 fonts on the Amiga - (at last!)
type1.library
t1manager
by Amish S. Dave
internet email: asd2@midway.uchicago.edu
WARNING: This is still what I would call 'beta' software!
Be wary! There are known problems/incompatibilities!!
I will not be held responsible for any problems, etc.
###########################################################################
INTRODUCTION
The files in this distribution implement a Postscript Type1 font
engine for the Amiga. It is designed as a shared library that
does for type1 fonts what 'bullet.library' does for compugraphic
fonts. In addition, a program 't1manager' is included, which is
required to install, remove, and preview type1 fonts.
NOTE: t1manager REQUIRES MUI. I think that it will work with
any version of MUI from 1.2 to 2.2. I'm quite sure that it will
work with MUI 2.0 onwards.
NOTE: both programs require AmigaDOS 2.1 or higher. I honestly
am not perfectly sure anymore about 2.0 (or 2.1). I'll say that
if your system supports Compugraphic fonts, then I think
type1.library and t1manager should work.
###########################################################################
INSTALLATION and USAGE
First of all, there are two versions of the library - one compiled for
68000 and no math coprocessor (which should run on any Amiga), and
one compiled for 030 AND 68882 math coprocessor. Pick the one you
intend to use.
To install, do the following from the shell, or the equivalent from WB.
CD <this directory>
COPY libs/type1.library.0x0 libs:type1.library ; 000 or 030
COPY t1manager/t1manager sys:system ; or wherever
COPY t1manager/t1manager.info sys:system ; copy icon
Now, you should be ready to install postscript fonts. Do this by
running the 't1manager' program.
What I do, is I have a drawer called Apps:type1fonts, which
is part of my FONTS: assign. I accomplish this by having the
following line in my user-startup file:
ASSIGN fonts: apps:type1fonts ADD ; Note the ADD
Now, when you run t1manager, you can select the font drawer
to use.
You install a font or fonts by clicking on install and selecting
the font or fonts to install. These must be binary type1 postscript
files. They commonly end in '.pfb'. There are several programs on
Aminet that I've seen that will convert different postscript font
formats to .pfb format. Find one, if your favorite font doesn't
install.
IMPORTANT!!! The installer does NOT actually copy the binary file
into the fontdrawer!!! (unlike Intellifont/Fountain). It creates
the .font and .otag files (and an empty directory) in this drawer.
The actual binary file must not be deleted, or moved, or else the
font will stop working. The .otag file simply refers to the font
whereever it is. Thus, if you have some postscript fonts as part
of some application, say Pagestream, you don't have to have two
copies - type1.library will read the font directly from the
directory it was in when you installed the font.
To see a preview of an installed font, just double click on the font's
name. The preview will appear on the bottom panel.
Etc.
At this point, barring bugs, you should be able to select postscript
fonts wherever you would otherwise select compugraphic fonts.
BETA: Note, however, that as of this beta version, there are still
some substantial incompatibilities... Be forewarned.
###########################################################################
###########################################################################
WARNINGS/DISCLAIMERS/COPYRIGHT STUFF
###########################################################################
I don't have the time or desire to understand any of the legal
mumbo jumbo that's supposed to go here. So what I'll put here
will be in plain english and not legalese:
First of all: you can't sell this for money - note carefully
the 'without fee' clause in the following blurb. Insofar as
the notice below permits, I think that the interpretation
should be that Fred Fish-type prices for distribution are
okay; selling this software by itself, or as part of a package
where this software is part of the advertisement, is not okay.
Also: I disclaim any responsibility for anything regarding
type1.library, t1manager, or any associated files, usage, etc.
In other words, if anything goes wrong, it's not my fault. In
fact, I'll just say that it is likely that things will go wrong
- if you choose to use or look at this software, be forewarned,
and don't blame me!!
Furthermore, I don't claim too much credit for the software here:
I just used, copied, modified and am now distributing software
that was donated to the X Consortium by others. The underlying
font engine was written apparently for use with X-windows servers-
I didn't write it, and don't claim exceptional knowledge about it.
Here's the blurb that I think I'm obligated to add here:
/* Copyright International Business Machines, Corp. 1991
* All Rights Reserved
* Copyright Lexmark International, Inc. 1991
* All Rights Reserved
* Portions Copyright (c) 1990 Adobe Systems Incorporated.
* All Rights Reserved
*
* License to use, copy, modify, and distribute this software and its
* documentation for any purpose and without fee is hereby granted,
* provided that the above copyright notice appear in all copies and that
* both that copyright notice and this permission notice appear in
* supporting documentation, and that the name of IBM or Lexmark or Adobe
* not be used in advertising or publicity pertaining to distribution of
* the software without specific, written prior permission.
*
* IBM, LEXMARK, AND ADOBE PROVIDE THIS SOFTWARE "AS IS", WITHOUT ANY
* WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT
* LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
* PARTICULAR PURPOSE, AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. THE
* ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE, INCLUDING
* ANY DUTY TO SUPPORT OR MAINTAIN, BELONGS TO THE LICENSEE. SHOULD ANY
* PORTION OF THE SOFTWARE PROVE DEFECTIVE, THE LICENSEE (NOT IBM,
* LEXMARK, OR ADOBE) ASSUMES THE ENTIRE COST OF ALL SERVICING, REPAIR AND
* CORRECTION. IN NO EVENT SHALL IBM, LEXMARK, OR ADOBE BE LIABLE FOR ANY
* SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
* RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
* CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
The above applies only to portions of the code that contain the message
at the top of the source. Other source files (of which *some* begin with
my first name; hey, what can I say :-> some people choose to use foo
and bar - I use my first name!) were written by me, and probably contain
Amiga-specific code. For these files, the same license to use, copy, etc.
and the same proviso regarding warranties applies, with AMISH S. DAVE
substituting for IBM, LEXMARK, and ADOBE.
Also, I used some enhancements to the X windows code provided by HP:
THE HP XLFD ENHANCEMENTS ARE PROVIDED "AS IS", WITHOUT ANY WARRANTIES OF
ANY KIND, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL HEWLETT-PACKARD
BE LIABLE FOR ANY SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THESE
ENHANCEMENTS.
###########################################################################
WHERE DID IT COME FROM?
I started with the postscript rasterizer in the contrib distribution
of X11R5 (X-Windows). I have since used the X11R6 type1 font rasterizer,
which is part of its core distribution. I have also used some patches
by HP that were on the ftp.x.org ftp site in the contrib section.
What I did was adapt it to look like the Amiga's compugraphic
font engine (bullet.library). My only source of information on
writing such libraries was from the includes and by looking at
what was being passed to and from bullet.library when diskfont
called it (by SetPatch()-ing bullet.library).
After adapting the code to the Amiga, I sped it up, by re-writing some
portions of the code, tweaking other portions, etc. In some cases, I
wrote assembly routines to replace C code. These were my first 680x0
assembly routines...
Then I whipped up a MUI utility to install/remove/preview fonts. This
was also my first MUI program.
###########################################################################
WHERE IS IT GOING
I haven't had the time to work on this 'pet project' for a while. I
don't anticipate finding the time in the near future. Thus, I'm
releasing now so as to encourage further development by others. I
personally consider this software to be at a 'beta' level - it certainly
isn't polished enough yet for a 1.0 release, I think.
Hopefully, people will start working on this now. I ask that people
who work on this to please make public, or send me any updates or
changes they make. My intention is for there to only be a single
type1.library for the Amiga, not a confusing litany of 14.15XYZ,
1.0K00L, ABC2.0 versions, each somewhat different... That would suck.
###########################################################################
KNOWN PROBLEMS
Most of the problems remaining stem from my not correctly supporting
the glm_Width field of the glyphmap structure that I return. Right
now I put 1.0 for every character. Also, there are many tags that I
don't support yet. The TODO file accompanying this release lists a
few of the more important changes that need to be made.
###########################################################################
THANKS TO:
Gregory Block - for code fragments, encouragement, insistance, harrassment
(:->) and bug reports.
###########################################################################
--
Amish S. Dave University of Chicago
asd2@midway.uchicago.edu Biology Grad. Student
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
11050 4842 56.1% 10-Jan-95 08:41:48 type1/HISTORY
1437 599 58.3% 10-Jan-95 08:46:00 type1/HISTORY.info
10331 4443 56.9% 14-Jan-95 22:15:34 type1/README_Beta
1081 500 53.7% 14-Jan-95 22:02:04 type1/TODO
727 415 42.9% 10-Jan-95 08:46:00 type1/libs.info
76460 40538 46.9% 08-Jan-95 06:18:58 type1/libs/type1.library.000
67772 35876 47.0% 08-Jan-95 06:43:02 type1/libs/type1.library.030
1437 594 58.6% 10-Jan-95 08:46:00 type1/README_Beta.info
727 415 42.9% 10-Jan-95 08:46:00 type1/src.info
360 207 42.5% 17-Dec-94 05:33:34 type1/src/amishfontrequest.h
2488 997 59.9% 17-Dec-94 05:33:32 type1/src/amishio.c
2545 833 67.2% 17-Dec-94 05:33:32 type1/src/amishmalloc.c
1108 571 48.4% 17-Dec-94 05:33:34 type1/src/amisht1eexec.a
11443 3379 70.4% 08-Jan-95 06:04:46 type1/src/amisht1funcs.c
6552 3018 53.9% 17-Dec-94 05:33:32 type1/src/arith.c
7877 3058 61.1% 17-Dec-94 05:33:34 type1/src/curves.c
3457 1178 65.9% 17-Dec-94 05:33:34 type1/src/digit.h
1084 563 48.0% 17-Dec-94 05:33:34 type1/src/fillrun.a
11168 3609 67.6% 08-Jan-95 06:01:00 type1/src/fontfcn.c
4544 1272 72.0% 17-Dec-94 05:33:34 type1/src/fontfilest.h
52220 16110 69.1% 17-Dec-94 05:33:38 type1/src/global.h
1077 558 48.1% 17-Dec-94 05:33:34 type1/src/globals.c
5508 1429 74.0% 17-Dec-94 05:33:34 type1/src/hdigit.h
26823 9023 66.3% 17-Dec-94 05:33:34 type1/src/hints.c
4750 2199 53.7% 17-Dec-94 05:33:34 type1/src/lines.c
7159 2246 68.6% 17-Dec-94 05:33:36 type1/src/myfontstruct.h
39059 12213 68.7% 17-Dec-94 05:33:36 type1/src/paths.c
3309 1296 60.8% 17-Dec-94 05:33:36 type1/src/readfont.c
46688 15993 65.7% 17-Dec-94 05:33:32 type1/src/regions.c
41946 10268 75.5% 08-Jan-95 03:39:10 type1/src/scanfont.c
2297 1123 51.1% 08-Jan-95 06:19:20 type1/src/smakefile
27070 9284 65.7% 08-Jan-95 05:45:58 type1/src/spaces.c
34 34 0.0% 17-Dec-94 05:33:36 type1/src/t1gst.c
24722 8580 65.2% 17-Dec-94 05:33:34 type1/src/t1objects.c
2481 1310 47.1% 17-Dec-94 05:33:36 type1/src/t1snap.c
27169 7445 72.5% 08-Jan-95 03:18:48 type1/src/token.c
30443 3897 87.1% 17-Dec-94 05:33:32 type1/src/tokst.h
58536 16298 72.1% 08-Jan-95 06:10:42 type1/src/type1.c
223 129 42.1% 17-Dec-94 05:33:32 type1/src/type1_lib.fd
244 120 50.8% 17-Dec-94 05:33:32 type1/src/type1_pragmas.h
2366 971 58.9% 07-Jan-95 22:04:26 type1/src/type1interface.c
6184 1696 72.5% 07-Jan-95 22:20:54 type1/src/type1lib.c
4004 1618 59.5% 17-Dec-94 05:33:32 type1/src/util.c
727 418 42.5% 10-Jan-95 08:46:00 type1/t1manager.info
4029 761 81.1% 17-Dec-94 05:35:14 type1/t1manager/myimagegclass.h
2968 1918 35.3% 27-Feb-94 18:46:24 type1/t1manager/myimagegclass.o
964 479 50.3% 17-Dec-94 05:35:14 type1/t1manager/ReadMe.mui
1415 390 72.4% 10-Jan-95 08:44:20 type1/t1manager/ReadMe.mui.info
1013 507 49.9% 10-Jan-95 08:36:50 type1/t1manager/smakefile
1013 507 49.9% 10-Jan-95 08:14:14 type1/t1manager/smakefile.bak
13672 7911 42.1% 10-Jan-95 08:38:46 type1/t1manager/t1manager
16426 4898 70.1% 10-Jan-95 08:32:44 type1/t1manager/t1manager.c
3131 967 69.1% 17-Dec-94 05:35:14 type1/t1manager/t1manager.h
1571 991 36.9% 10-Jan-95 08:44:20 type1/t1manager/t1manager.info
20856 6560 68.5% 10-Jan-95 08:23:36 type1/t1manager/t1manager_backend.c
45 45 0.0% 17-Dec-94 05:35:14 type1/t1manager/t1managergst.c
244 120 50.8% 17-Dec-94 05:35:14 type1/t1manager/type1_lib.h
491 142 71.0% 17-Dec-94 05:35:14 type1/t1manager/type1_protos.h
1437 599 58.3% 10-Jan-95 08:46:00 type1/TODO.info
727 419 42.3% 10-Jan-95 08:47:58 type1.info
-------- ------- ----- --------- --------
708689 258379 63.5% 16-Jan-95 11:37:32 60 files